Skip to content

C#: Add test for cs/dereferenced-value-may-be-null#3073

Merged
calumgrant merged 2 commits into
github:masterfrom
hvitved:csharp/null-maybe-fp
Mar 26, 2020
Merged

C#: Add test for cs/dereferenced-value-may-be-null#3073
calumgrant merged 2 commits into
github:masterfrom
hvitved:csharp/null-maybe-fp

Conversation

@hvitved

@hvitved hvitved commented Mar 16, 2020

Copy link
Copy Markdown
Contributor

Record the FP reported here.

calumgrant
calumgrant previously approved these changes Mar 26, 2020

static int Ex35(string s = "null") => s.Length; // GOOD

static int Ex44(object o)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not Ex36?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that is a very good question :-) I will change it.

@calumgrant calumgrant merged commit 782f2b5 into github:master Mar 26, 2020
@hvitved hvitved deleted the csharp/null-maybe-fp branch March 26, 2020 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants